import request from '../../utils/request'
import store from '../../store'
// 流程图创建获取id
export function antvg6Id(postselectinfo) {
  postselectinfo.userid = store.getters.userid
  return request({
    url: '/workflow/WfProcess/create',
    method: 'post',
    data: postselectinfo
  })
}
// 流程图创建
export function antvg6Add(postselectinfo) {
  postselectinfo.userid = store.getters.userid
  return request({
    url: '/WfBizCategory',
    method: 'post',
    data: postselectinfo
  })
}
// 动态菜单
export function getUserSubsys() {
  return request({
    url: '/uums/common/menu/getUserSubsys',
    method: 'POST'
  })
}

